﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace REPORT.DTO
{
   public class DTO_NGUOIDUNG
    {
        #region Khai bao thuoc tinh

        private int _maNguoiDung;
        private string _hoTen;
        private string _matKhau;
        private string _email;
        private string _hinhAnh;

        #endregion

        #region Khai bao phuong thuc
        public int MaNguoiDung
        {
          get { return _maNguoiDung; }
          set { _maNguoiDung = value; }
        }  
        public string HoTen
        {
          get { return _hoTen; }
          set { _hoTen = value; }
        }     
        public string MatKhau
        {
          get { return _matKhau; }
          set { _matKhau = value; }
        } 
        public string Email
        {
          get { return _email; }
          set { _email = value; }
        } 
        public string HinhAnh
        {
          get { return _hinhAnh; }
          set { _hinhAnh = value; }
        } 
        #endregion

        #region Khai bao khoi tao
        public DTO_NGUOIDUNG()
        { }
        public DTO_NGUOIDUNG(int maND, string hoTenND, string matKhau, string email, string hinhAnh)
        {
            this.MaNguoiDung = maND;
            this.HoTen = hoTenND;
            this.MatKhau = matKhau;
            this.Email = email;
            this.HinhAnh = hinhAnh;
        }

        public DTO_NGUOIDUNG(DTO_NGUOIDUNG obj)
        {
            this.MaNguoiDung = obj.MaNguoiDung;
            this.HoTen = obj.HoTen;
            this.MatKhau = obj.MatKhau;
            this.Email = obj.Email;
            this.HinhAnh = obj.HinhAnh;
        }
        #endregion
    }
}
